from pydantic import BaseModel, Field
from typing import Optional


from mldong.base import BasePageParam


class RoleMenuParam(BaseModel):
    id: Optional[str] = Field(None, title="主键", description="主键")

    
    
    roleId: str = Field(..., title="角色ID", description="角色ID")
    
    menuId: str = Field(..., title="菜单ID", description="菜单ID")
    


class RoleMenuPageParam(BasePageParam):
    pass